import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
//按需引入组件样式
import {
  Autocomplete,
  Carousel,
  CarouselItem,
  Tabs,
  TabPane,
  Avatar,
  Form,
  FormItem,
  Input
} from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

Vue.use(Autocomplete);
Vue.use(Carousel);
Vue.use(CarouselItem);
Vue.use(Tabs);
Vue.use(TabPane);
Vue.use(Avatar);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Input);
Vue.config.productionTip = false;

import "./styles/index.scss";

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
